package com.zit.java.pojo;

import java.io.Serializable;
import java.util.List;

public class ZTreeNode implements Serializable {

    private boolean checked;
    private List<ZTreeNode> children;
    private String click;
    private String id;
    private boolean isParent;
    private Object model;
    private String name;
    private boolean open;
    private String pId;
    private String target;
    private  String url;
    private String rel;
    private String temp;

    public ZTreeNode() {
    }

    public ZTreeNode(boolean checked, List<ZTreeNode> children, String click, String id, boolean isParent, Object model, String name, boolean open, String pId, String target, String url, String rel, String temp) {
        this.checked = checked;
        this.children = children;
        this.click = click;
        this.id = id;
        this.isParent = isParent;
        this.model = model;
        this.name = name;
        this.open = open;
        this.pId = pId;
        this.target = target;
        this.url = url;
        this.rel = rel;
        this.temp = temp;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public List<ZTreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<ZTreeNode> children) {
        this.children = children;
    }

    public String getClick() {
        return click;
    }

    public void setClick(String click) {
        this.click = click;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /**
     * boolean 需要注意 get  and  set 方法的命名
     * @return
     */

    public boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(boolean parent) {
        isParent = parent;
    }

    public Object getModel() {
        return model;
    }

    public void setModel(Object model) {
        this.model = model;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRel() {
        return rel;
    }

    public void setRel(String rel) {
        this.rel = rel;
    }

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }
}
